package com.mxfcode.front.bbs_resource.mapper;


import com.mxfcode.entity.BBSResource;
import com.mxfcode.front.dto.ResourceDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 资源
 */
@Mapper
public interface ResourceMapper {

    List<ResourceDTO> selectResource(String userId, int offset, int limit);

    BBSResource selectBBSArticleById(String id);


    int selectResourceRows(String id);
}
